From 52afccb6a37aeb74ecb75ae71e158b867e6e1ebb Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 29 Sep 2017 23:29:33 -0400 Subject: [PATCH] Fix a doc comment It was missing a return. --- gsk/gskrendernodeimpl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c index f0c0f02612..d560d8a554 100644 --- a/gsk/gskrendernodeimpl.c +++ b/gsk/gskrendernodeimpl.c @@ -4003,7 +4003,7 @@ gsk_text_node_deserialize (GVariant *variant, } g_variant_iter_free (iter); - result = gsk_text_node_new (font, glyphs, &color, x, y); /* FIXME: Avoid copying glyphs */ + result = gsk_text_node_new (font, glyphs, &color, x, y); pango_glyph_string_free (glyphs); pango_font_description_free (desc); @@ -4035,6 +4035,8 @@ static const GskRenderNodeClass GSK_TEXT_NODE_CLASS = { * Note that @color may not be used if the font contains * color glyphs. * + * Returns: a new text node, or %NULL + * * Since: 3.92 */ GskRenderNode * -- 2.30.2